package com.prizedraw.prize_draw.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * </p>
 *
 * @author czj666
 * @since 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Prize extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @NotBlank( message = "奖项名不能为空")
    private String title;

    private Integer drawNum;

    private Integer drawId;

    @NotBlank( message = "奖品名不能为空")
    private String prizeName;


}
